import http from '../utils/request.js'
export default {
	// 登录接口
	login(params) {
		return http.post('/login', params)
	},
	
	// 获取用户信息
	getUserInfo() {
		return http.get('/getInfo', {}, true)
	}
}